const getters = {
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.username,
  roles: state => state.user.roles,
  permissions: state => state.user.permissions,
  menus: state => state.user.menus,
  userInfo: state => state.user,
  workInformation: state => state.user.workInfo
}
export default getters
